%%UH 基本的な考え方」 ←%%H 「%」でコメントアウトして下さい is_concluded(contract):- become_effective(acceptance(offer)). become_effective(offer):- reach(offer), \+(become_effective(withdrawl(offer)). become_effective(withdrawl(offer)):- reach(withdrawl(offer)), \+((reach(offer),before(T1,T2))). before(T1,T2):- T1@